<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>公章卫士管理平台</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <title>登录</title>
    <link rel="stylesheet" href="/asset/layui/css/layui.css">
    <link rel="stylesheet" href="/asset/css/index.css?v=8090900">
    <script type="text/javascript" src="/asset/js/jquery-3.3.1.min.js"></script>
    <script src="/asset/layui/layui.js" charset="utf-8"></script>
</head>
<body class="layui-layout-body">
<div class="layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo"><img src="/asset/images/logon.png" alt=""></div>
    </div>
    <div class="login_box">
        <div class="flesx">
            <form method="post" class="layui-form">
                <div class="login_form">
                    <h4 class="login_title">管理员登录</h4>
                    <input type="text" name="username" value="" lay-verify="required" placeholder="请输入登录账户"
                           class="input_top adminbox">
                    <input type="password" name="password" value="" lay-verify="required" placeholder="请输入密码"
                           class="input_top passwordbox">
                    <div class="posireletave"><input type="text" name="authcode" autocomplete="off"
                                                     class="input_top imgbox" placeholder="图形验证码"> <img
                            src="/kaptcha.htm" onclick="this.src='/kaptcha.htm?r='+Math.random()" alt=""
                            class="tephone_img"></div>
                    <input type="submit" lay-submit lay-filter="login" value="登&nbsp;&nbsp;&nbsp;&nbsp;录"
                           class="button_box">
                </div>
            </form>
        </div>
        <div class="layui-carousel" id="test10">
            <div carousel-item="">
                <div>
                    <div class="imges" style="background:url(/asset/images/login_bg1.jpg)no-repeat center top ;"></div>
                </div>
                <div>
                    <div class="imges" style="background:url(/asset/images/login_bg1.jpg) no-repeat center top ;"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="footer">
    <p>服务热线：021-09875564</p>
    <p>版权所有 © 2018-2028 阿瑟费卡夫卡撒我看 沪ICP备11057864-1号</p>
</div>
<script>
    $(function () {
        layui.use(['carousel', 'form'], function () {
            var carousel = layui.carousel;
            var form = layui.form;
            //监听提交
            form.on('submit(login)', function (data) {

                $.ajax({
                    type: "POST",
                    url: "/admin/signin.htm",
                    data: data.field,
                    success: function (result) {

                        if (result.code == '1') {

                            layer.msg('登录成功');
                            location.href = '/admin/dashboard/index.htm'

                        } else {
                            layer.msg(result.msg);
                        }

                    }
                });

                return false;
            });
            carousel.render({
                elem: '#test10',
                width: '100%',
                height: '536px',
                interval: 5000,
                indicator: 'none'
            });
        });
    })
</script>
</body>
</html>